package com.relytosoft.mizar.media.analyze.api.pojo.vo;

import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lj
 * @date 2022/6/9 9:23
 */
public class AyBehaviorTaskSonVo implements Serializable {

    private static final long serialVersionUID = -81207907908824058L;

    /**
     * ID
     */
    private Integer id;

    /**
     * 主任务ID
     */
    private Integer behaviorTaskId;

    /**
     * 任务名称
     */
    private String name;

    /**
     * 设备名称
     */
    private String cameraName;

    /**
     * 状态
     */
    private Integer status;


    /**
     * 状态描述
     */
    private String statusDesc;

    /**
     * 异常原因
     */
    private String errorReason;


    /**
     * 任务开始时间
     */
    private LocalDateTime beginTime;

    /**
     * 任务结束时间
     */
    private LocalDateTime endTime;

    /**
     * 备注
     */
    private String remark;


    /**
     * 0：周计划 1：日计划（周一到周日计划相同） 2：全天
     */
    @ApiModelProperty(value = "0：周计划 1：日计划（周一到周日计划相同） 2：全天")
    private Integer planType;

    /**
     * 取值范围如下： 周计划时：1～7 日计划时：1 全天：0
     */
    @ApiModelProperty(value = "取值范围如下： 周计划时：1～7 日计划时：1 全天：0")
    private Integer planInfoNum;

    /**
     * (json数据) 周计划时最多7个计划时间信息 日计划时最多1个计划时间信息 全程录时无计划时间信息
     */
    @ApiModelProperty(value = "(json数据) 周计划时最多7个计划时间信息 日计划时最多1个计划时间信息 全程录时无计划时间信息")
    private String planInfoList;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getBehaviorTaskId() {
        return behaviorTaskId;
    }

    public void setBehaviorTaskId(Integer behaviorTaskId) {
        this.behaviorTaskId = behaviorTaskId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    public String getErrorReason() {
        return errorReason;
    }

    public void setErrorReason(String errorReason) {
        this.errorReason = errorReason;
    }

    public LocalDateTime getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(LocalDateTime beginTime) {
        this.beginTime = beginTime;
    }

    public LocalDateTime getEndTime() {
        return endTime;
    }

    public void setEndTime(LocalDateTime endTime) {
        this.endTime = endTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getPlanType() {
        return planType;
    }

    public void setPlanType(Integer planType) {
        this.planType = planType;
    }

    public Integer getPlanInfoNum() {
        return planInfoNum;
    }

    public void setPlanInfoNum(Integer planInfoNum) {
        this.planInfoNum = planInfoNum;
    }

    public String getPlanInfoList() {
        return planInfoList;
    }

    public void setPlanInfoList(String planInfoList) {
        this.planInfoList = planInfoList;
    }

    @Override
    public String toString() {
        return "AyBehaviorTaskSonVo{" +
                "id=" + id +
                ", behaviorTaskId=" + behaviorTaskId +
                ", name='" + name + '\'' +
                ", cameraName='" + cameraName + '\'' +
                ", status=" + status +
                ", statusDesc='" + statusDesc + '\'' +
                ", errorReason='" + errorReason + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", remark='" + remark + '\'' +
                ", planType=" + planType +
                ", planInfoNum=" + planInfoNum +
                ", planInfoList='" + planInfoList + '\'' +
                '}';
    }
}
